Package pl.wendigo.chrome.api.animation

Contains DevTools Protocol Animation domain implementation accessible via AnimationDomain class.

Types

Animation
Link copied to clipboard
data class Animation(id: String, name: String, pausedState: Boolean, playState: String, playbackRate: Double, startTime: Double, currentTime: Double, type: String, source: AnimationEffect?, cssId: String?)
Animation instance.
AnimationCanceledEvent
Link copied to clipboard
data class AnimationCanceledEvent(id: String) : Event
Event for when an animation has been cancelled.
AnimationCreatedEvent
Link copied to clipboard
data class AnimationCreatedEvent(id: String) : Event
Event for each animation that has been created.
AnimationDomain
Link copied to clipboard
class AnimationDomain : Domain
AnimationDomain represents Animation protocol domain request/response operations and events that can be captured.
AnimationEffect
Link copied to clipboard
data class AnimationEffect(delay: Double, endDelay: Double, iterationStart: Double, iterations: Double, duration: Double, direction: String, fill: String, backendNodeId: BackendNodeId?, keyframesRule: KeyframesRule?, easing: String)
AnimationEffect instance
AnimationStartedEvent
Link copied to clipboard
data class AnimationStartedEvent(animation: Animation) : Event
Event for animation that has been started.
GetCurrentTimeRequest
Link copied to clipboard
data class GetCurrentTimeRequest(id: String)
Represents request frame that can be used with Animation#getCurrentTime operation call.
GetCurrentTimeResponse
Link copied to clipboard
data class GetCurrentTimeResponse(currentTime: Double)
Represents response frame that is returned from Animation#getCurrentTime operation call.
GetPlaybackRateResponse
Link copied to clipboard
data class GetPlaybackRateResponse(playbackRate: Double)
Represents response frame that is returned from Animation#getPlaybackRate operation call.
KeyframesRule
Link copied to clipboard
data class KeyframesRule(name: String?, keyframes: List<KeyframeStyle>)
Keyframes Rule
KeyframeStyle
Link copied to clipboard
data class KeyframeStyle(offset: String, easing: String)
Keyframe Style
ReleaseAnimationsRequest
Link copied to clipboard
data class ReleaseAnimationsRequest(animations: List<String>)
Represents request frame that can be used with Animation#releaseAnimations operation call.
ResolveAnimationRequest
Link copied to clipboard
data class ResolveAnimationRequest(animationId: String)
Represents request frame that can be used with Animation#resolveAnimation operation call.
ResolveAnimationResponse
Link copied to clipboard
data class ResolveAnimationResponse(remoteObject: RemoteObject)
Represents response frame that is returned from Animation#resolveAnimation operation call.
SeekAnimationsRequest
Link copied to clipboard
data class SeekAnimationsRequest(animations: List<String>, currentTime: Double)
Represents request frame that can be used with Animation#seekAnimations operation call.
SetPausedRequest
Link copied to clipboard
data class SetPausedRequest(animations: List<String>, paused: Boolean)
Represents request frame that can be used with Animation#setPaused operation call.
SetPlaybackRateRequest
Link copied to clipboard
data class SetPlaybackRateRequest(playbackRate: Double)
Represents request frame that can be used with Animation#setPlaybackRate operation call.
SetTimingRequest
Link copied to clipboard
data class SetTimingRequest(animationId: String, duration: Double, delay: Double)
Represents request frame that can be used with Animation#setTiming operation call.